<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a>主页</a></li>
			<li><a>收单机构管理 </a></li>
			<li class="active"><strong>收单服务详情</strong></li>
		</ol>
	</div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-controller="groupServiceDetailCtrl">
	<form class="form-horizontal">
		<div class="form-group">
			<div class="row">
				 <div class="col-lg-12">
		            <div class="tabs-container">
		                <uib-tabset>
		                    <uib-tab>
		                    	<uib-tab-heading>
		                    		 <span class="block m-t-xs">
		                             	<i class="fa fa-laptop"></i>
		                                <strong class="font-bold">基本信息</strong>
		                             </span>
		                        </uib-tab-heading>
		                        <div class="panel-body">
		           					<div class="row">
										<div class="col-lg-12">
											<div class="form-group">
												<label class="col-sm-2 control-label">收单机构：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.acqName}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">服务类型：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.serviceType | formatDropping:acqServiceTypes}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">服务名称：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.serviceName}}</p>
												</div>
											</div>
										    <div class="form-group">
												<label class="col-sm-2 control-label">费率区分银行卡种类：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.feeIsCard | formatDropping:boolAll}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">限额区分银行卡种类：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.quotaIsCard | formatDropping:boolAll}}</p>
												</div>
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">每日允许交易时间：</label>
												<div class="col-sm-4">
													<p class="form-control-static">{{serviceBaseInfo.allowTransStartTime}} - {{serviceBaseInfo.allowTransEndTime}}</p>
										        </div>   
											</div>
											<div class="form-group">
												<label class="col-sm-2 control-label">备注：</label>
												<div class="col-sm-6">
													<p class="form-control-static">{{serviceBaseInfo.serviceRemark}}</p>
												</div>
											</div>
										</div>
									</div>
								</div>	
							</uib-tab>
		                    <uib-tab>
		                    	<uib-tab-heading>
		                    		<span class="block m-t-xs">
		                             	<i class="fa fa-desktop"></i>
		                                <strong class="font-bold">服务管控费率</strong>
		                            </span>
		                        </uib-tab-heading>
		                        <div class="panel-body">
		                          	<div class="gridStyle" ui-grid="serviceRateGrid" ui-grid-resize-columns></div>
		                          	<div class="block m-t-xs">
		                           		<strong>备注：</strong><br/>
											每笔固定金额1元，则填写商户费率1.00;<br>
											每笔扣率为0.1%则填写商户费率0.1%;<br>
											每笔扣率为0.1%，封顶3元，保底1元则填写商户费率1.00~0.1%~3.00;<br>
											每笔扣率为0.1%加上固定金额1元，则填写商户费率0.1%+1.00;<br>
											单笔阶梯扣率如10000.00元以下，扣率0.38%，10000.00元及以上扣率0.37%，则填写0.38%&lt;10000.00&lt;0.37%;<br>
											每月阶梯扣率如10000.00元以下，扣率0.38%，10000.00元及以上扣率0.37%，则填写0.38%&lt;10000.00&lt;0.37%;<br>
								   </div>
		                        </div>
		                    </uib-tab>
		                    <uib-tab>
		                    	<uib-tab-heading>
		                    		<span class="block m-t-xs">
		                             	<i class="fa fa-desktop"></i>
		                                <strong class="font-bold">服务管控额度</strong>
		                            </span>
		                        </uib-tab-heading>
		                        <div class="panel-body">
                        			<div class="row" ng-switch="serviceBaseInfo.quotaIsCard">
										<div class="col-lg-12">
											<!-- S= 限额区分卡种 -->
											<div ng-switch-when="1">
												<div class="form-group">
													<label class="col-sm-2 control-label">储蓄卡单笔交易限额：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.savingsSingleMinAmount | number:2}} - {{serviceQuotaInfo.savingsSingleMaxAmount | number:2}}</p>
													</div>
													<label class="col-sm-2 control-label">储蓄卡日成功交易总额阀值：</label>
													<div class="col-sm-2">
														<p class="form-control-static">{{serviceQuotaInfo.savingsDayTotalAmount | number:2}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">信用卡单笔交易限额：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.creditSingleMinAmount | number:2}} - {{serviceQuotaInfo.creditSingleMaxAmount | number:2}}</p>
													</div>
													<label class="col-sm-2 control-label">信用卡日成功交易总额阀值：</label>
													<div class="col-sm-2">
														<p class="form-control-static">{{serviceQuotaInfo.creditDayTotalAmount | number:2}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">所有卡种日成功交易总额阀值：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.dayTotalAmount | number:2}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">预警手机号：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.warningPhone}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">单笔交易限额客户端提示语：</label>
													<div class="col-sm-6">
														<p class="form-control-static">{{serviceQuotaInfo.clintMsg}}</p>
													</div>
												</div>
											</div>
											<!-- E= 限额区分卡种 -->
											<!-- S= 限额不区分卡种 -->
											<div ng-switch-when="2">
												<div class="form-group">
													<label class="col-sm-2 control-label">单笔交易限额：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.transLimitMinAmount | number:2}} - {{serviceQuotaInfo.transLimitMaxAmount | number:2}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">日成功交易总额阀值：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.dayTotalAmount | number:2}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">预警手机号：</label>
													<div class="col-sm-3">
														<p class="form-control-static">{{serviceQuotaInfo.warningPhone}}</p>
													</div>
												</div>
												<div class="form-group">
													<label class="col-sm-2 control-label">单笔交易限额客户端提示语：</label>
													<div class="col-sm-10">
														<p class="form-control-static">{{serviceQuotaInfo.clintMsg}}</p>
													</div>
												</div>
											</div>
											<!-- E= 限额不区分卡种 -->
										</div>
									</div>
		                        </div>
		                    </uib-tab>
		                </uib-tabset>
		            </div>
		        </div>
			</div>
			<div class="col-lg-12 bgff">
				<div class="col-sm-12">
					<div class="col-sm-2"></div>
					<div class="col-sm-6">
						<button class="btn btn-primary4" type="button" ui-sref="org.groupService">返回</button>
					</div>
				</div>
			</div>
		</div>
	</form>
</div>